package com.enba.mallapi.module.dict.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.time.LocalDateTime;
import lombok.Data;

@Data
@TableName("sys_dict")
public class SysDict implements Serializable {

  private static final long serialVersionUID = 1L;

  @TableId(type = IdType.AUTO)
  private Long id;

  @ApiModelProperty("字典名称")
  private String dictName;

  @ApiModelProperty("字典编码")
  private String dictCode;

  @ApiModelProperty("字典描述")
  private String description;

  @ApiModelProperty("字典状态（0：禁用 1：可用）")
  private Integer status;

  private LocalDateTime createTime;

  private LocalDateTime updateTime;

  private String createBy;

  private String updateBy;

  private Integer delFlag;
}
